@include("home.layouts.header")
<!-- 内页banner -->
@if ($banner_list)
    <div class="ban_innder" style="background-image: url({{ $banner_list[0] }});">
        <div class="wp">
            <div class="txt">
                @if ($info['news_type'] == 2)
                    新闻资讯
                @elseif ($info['news_type'] == 1)
                    社会责任
                @endif
            </div>
        </div>
    </div>
@endif
<!-- 内页banner end -->
<div class="main">
    <div class="row-a1_c">
        <div class="wp">
            <div class="m-djxiangq">
                <div class="tit">
                    <h1>{{ data_get($info, "title") }}</h1>
                    <em>发布时间：{{ data_get($info, "created_at") }}</em>
                </div>
                @if ($info['images'])
                    @foreach($info['images'] as $image)
                        <img src="{{ $image }}" />
                    @endforeach
                @endif
                <br>
                {!! data_get($info, 'content') !!}
                <!-- 推荐 -->
                <div class="pages1">
                    <div class="prev">
                        <span>上一篇：</span>
                        @if ($up)
                            <a href="/sh/detail?id={{ $up['id'] }}">{{  $up['title'] }} 发布时间：{{ $up['created_at'] }}</a>
                        @else
                            没有了
                        @endif
                    </div>
                    <div class="naxt">
                        <span>下一篇：</span>
                        @if ($down)
                            <a href="/sh/detail?id={{ $down['id'] }}">{{  $down['title'] }} 发布时间：{{ $down['created_at'] }}</a>
                        @else
                            没有了
                        @endif
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 底部 -->
<!-- 底部 -->
@include("home.layouts.footer")